package com.fc.mall.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import io.swagger.models.auth.In;
import lombok.Data;

import java.util.Date;

/**
 * Created by Sunny on 2019/7/3.
 */
@ApiModel(value = "会员分佣情况")
@Data
public class UmsMemberCommission {

    @ApiModelProperty(value = "订单号")
    protected String orderSn;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "金额")
    private Long amount;

    @ApiModelProperty(value = "分佣比例")
    private Integer rate;

    @ApiModelProperty(value = "账户类型：1 会员账户，2：会员待发放账户")
    private Integer accountType;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "状态： 1：未发放， 0： 已发放")
    private Integer status;

    @ApiModelProperty(value = "收货时间，结算时间")
    private Date receiveTime;

    /**
     * accountChangeMemberId==orderMemberId  : 1 :自购分佣
     * accountChangeMemberId！=orderMemberId : 0 ：运营商提成
     */
    private Integer commissionType;

}
